<?php

$_this =& $this;

/* @var $_this View */
/* @var $form FormHelper */
/* @var $editForm EditFormHelper */
/* @var $html HtmlHelper */
/* @var $ehtml EHtmlHelper */
/* @var $javascript JavascriptHelper */
/* @var $jqax JqaxHelper */
/* @var $filterBlock FilterBlock */

$action = "/".$url_part.'/'.$this->data['Testing']['candidate_id'].'/tools/fill_in/'.$this->data['Testing']['id'].'/';
?><?=$editForm->create($modelName, array('url' => $action, 'id' => 'fill_in_form'));?><?php

    ?><?=$editForm->startSet();?><?php
        ?><?=$editForm->textView(__d($po_domain, 'entity_name', true), $this->data[$modelName]["surname"].' / '.$this->data[$modelName]["name"]);?><?php
        ?><?=$editForm->textView(__d($po_domain, 'tool', true), $this->data['Test']['name']);?><?php
    ?><?=$editForm->endSet();?><?php

    ?><?=$editForm->cell($this->renderElement('fill_in', $blank_configuration));?><?php

    $buttons = array();
    $buttons[] = $editForm->back('/candidates/'.$this->data['Testing']['candidate_id'].'/tools/appointed/'.$this->data['Testing']['id']);

    $sum_txt = $editForm->drawAmountTXT($this->data['Test']['price_test'], 'EP');
    $buttons[] = $editForm->submitTag(__d(null, 'save', true), array(
        'onclick' => "if (! __fillInGUI.validate()) return false;",
    ));?><?php

    if (count($buttons)) {
    	?><?=$editForm->cell(implode(' ', $buttons));?><?php
    }

?><?=$editForm->end();?><?php

?>